package com.bdqn.t320.dao;

import com.bdqn.t320.pojo.SysUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysUserMapper {
    public int count();

    public List<SysUser> getUserList();

    public int add(SysUser sysUser);

    public int modify(SysUser sysUser);

    public int deleteUserById(@Param("id") Integer id);

    public int findByUserRole(@Param("userRole") Integer userRole);

    public int deleteUserByUserRole(@Param("userRole") Integer userRole);
}
